﻿@using JinRi.WebHost.ViewModels
@model Guid
@{
    ViewBag.Title = "新闻";
    var news = ViewBag.News as List<NewsModel>;
    var notices = ViewBag.Notices as List<NewsModel>;
}
@if (Model != Guid.Empty)
{
    <div class="banner">
        <img src="@Url.Action("Get", "Image", new { id = Model })" />
    </div>
}

<div class="container clearfix">
    <h2 class="title">今日动态</h2>
    <div class="hr"></div>
    <ul class="content1">
        @foreach (var item in news)
        {
            
            <li><a href="@Url.Action("NewsItem", "Home", new { id = item.Id })">&gt;&nbsp;@item.Title</a></li>
        }
    </ul>
    <div class="hr"></div>
</div>

